<?php
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// "$Id: menu2.cfg.php 9 2012-10-22 18:22:09Z matthias.krompass@gmail.com $";
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*
    eWeBuKi - a easy website building kit
    Copyright (C)2001-2007 Werner Ammon ( wa<at>chaos.de )

    This script is a part of eWeBuKi

    eWeBuKi is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    eWeBuKi is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with eWeBuKi; If you did not, you may download a copy at:

    URL:  http://www.gnu.org/licenses/gpl.txt

    You may also request a copy from:

    Free Software Foundation, Inc.
    59 Temple Place, Suite 330
    Boston, MA 02111-1307
    USA

    You may contact the author/development team at:

    Chaos Networks
    c/o Werner Ammon
    Lerchenstr. 11c

    86343 K�nigsbrunn

    URL: http://www.chaos.de
*/
////+///////+///////+///////+///////+///////+///////+///////////////////////////////////////////////////////////

    $cfg["menu"] = array(
          "mdbsupp" => 0, // multi db support enable
          "mdbname" => "www", // multi db support name (fqdn0)
             "base" => $pathvars["webroot"].$pathvars["virtual"], // z.B. "www.foobar.de"."/html/de/auth"
             "name" => "menu", // name der marke z.B. !#ausgaben_menu
               "db" => array(
                            "debug" => 0,
                          "entries" => "site_menu", // name der menu "struktur" datenbank
                         "language" => "site_menu_lang" // name der menu "sprach" datenbank
                       ),
    // css menu ohne template
    // (fuer menu mit template diese zeile und auskommentieren und die level-konfigurationen anpassen)
         "generate" => -1 ,

    // erste ebene
           "level1" => array(
                   "enable" => -1,
                     "full" => -1,
                   "extend" => 0,
                    "force" => 0,
                   "length" => 24,
                   "target" => "", // z.B. target=\"_blank\"
    // tipp: mit eigenen bildern, kann anstatt '/images/default/' - '".$pathvars["images"]."' verwendet werden,
    //       die bilder werden dann immer aus dem jeweiligen /images/design verzeichnis geladen.
    //       ##target##, ##link##, ##label## werden automatisch durch die richtigen werte ersetzt.
                    "icona" => "<a ##target## href=\"##link##\"><img src=\"/images/default/menuopen.png\" width=\"16\" height=\"16\" align=\"bottom\" border=\"0\" alt=\"##label##\"></a>",
                    "iconb" => "<a ##target## href=\"##link##\"><img src=\"/images/default/menuclose.png\" width=\"16\" height=\"16\" align=\"bottom\" border=\"0\" alt=\"##label##\"></a>",
    // tipp: mit class=\"menupunkt\" laesst sich das aussehen anpassen
    //       ##picture## enthaelt den im menued unter bild vergebenen wert
    // css menu ohne template
                       "on" => "<ul class=\"navigation\">\n",
                     "link" => "<li class=\"##class## ##extend##\"><a ##target## href=\"##link##\" title=\"##title##\">##picture####label##</a>##next_level##</li>\n",
                    #"link1" => "<li><a ##target## href=\"##link##\">##label##</a></li>\n",
                    #"link2" => "<li class=\"##aktiv##\">##label##</li>\n",
                      "off" => "</ul>\n",
    // css menu mit template (kommentar zeichen entfernen)
                     #"link" => "<a ##target## href=\"##link##\">##label##</a><br>",
                       ),

    // zweite ebene
           "level2" => array(
                   "enable" => -1,
                     "full" => -1,
                   "extend" => 0,
                    "force" => 0,
                   "length" => 24,
                   "target" => "", // z.B. target=\"_blank\"
    // css menu ohne template
                       #"on" => "<ul>\n",
                     #"link" => "<li class=\"##class##\"><a ##target## href=\"##link##\" title=\"##title##\">##label##</a>##next_level##</li>\n",
                      #"off" => "</ul>\n",
                       ),
    // css menu mit template (kommentar zeichen entfernen)
                     #"link" => "<a ##target## href=\"##link##\">##label##</a><br>",

    // dritte ebene
           "level3" => array(
                   "enable" => -1,
                     "full" => -1,
                   "extend" => 0,
                    "force" => 0,
                   "length" => 24,
                   "target" => "", // z.B. target=\"_blank\"
    // css menu ohne template
                       "on" => "",
                     "link" => "",
                      "off" => "",
                       ),
    // css menu mit template (kommentar zeichen entfernen)
                     #"link" => "<img src=\"/images/default/menu.png\" width=\"2\" height=\"12\" align=\"bottom\"> <a ##target## href=\"##link##\">##label##</a><br>",
    );

////+///////+///////+///////+///////+///////+///////+///////////////////////////////////////////////////////////
?>
